
package iwb.config;

import araf.core.cache.AbstractCacheConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;


@EnableCaching
@Configuration
public class RedisConfig extends AbstractCacheConfiguration {

    @Override
    protected Map<String, Long> defaultExpiredTime() {
        HashMap map = new HashMap();
        map.put("iwb.cache",30L);
        return map;
    }
}

